<?php
    /**
     * 
     */
    class Sx_userselect extends CI_Controller {
    	
		var $action;//执行动作
		var $userID;//用户ID		
		var $start;//从第几条开始
		var $num;//查询条数
        
        public function index(){
        	if(!isset($_POST['action']) || empty($_POST['action'])){
        		$this -> fengchaoclass -> showhckmsg("","",$this -> lang -> line('hck_userselect_postnull'), TRUE);
				exit;
        	}
			$this->action = $_POST['action'];
			
			switch ($this->action) {
				//为1查询指定条数
				case '1':
					$this->userall();
					break;
				//为2查询单条用户条数
				case '2':
					$this->user();
					break;
				//为3查询指定用户帖子
				case '3':
					$this->userarticle();
					break;
				case '':
					break;
				default:
					$this -> fengchaoclass -> showhckmsg("","",$this -> lang -> line('hck_userselect_postnull'), TRUE);
					break;
			}
        }
		
		//查询指定条数的用户
		public function userall(){
			
		}
		//查询单条用户的资料
		public function user(){
			
		}
		//查询单个用户帖子
		public function userarticle(){
			
		}
		
		
    }
    
?>